<?php
// +----------------------------------------------------------------------
// | 方维购物分享网站系统 (Build on ThinkPHP)
// +----------------------------------------------------------------------
// | Copyright (c) 2011 http://fanwe.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: awfigq <awfigq@qq.com>
// +----------------------------------------------------------------------
/**
 +------------------------------------------------------------------------------
 * 会员信件模型
 +------------------------------------------------------------------------------
 */
class UserMsgModel extends CommonModel
{
	public function getTablaName($id)
	{
		$id = substr((string)$id, -1, 1);
		return C("DB_PREFIX").'user_msg_'.$id;
	}
}
?>